package com.yc.yjh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 赛事结果表
 * </p>
 *
 * @author 廖老师
 * @since 2023-07-21
 */
public class Results implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 结果ID
     */
    @TableId(value = "result_id", type = IdType.AUTO)
    private Long resultId;

    /**
     * 场次
     */
    private String round;

    /**
     * 赛事ID
     */
    private Long matchId;

    /**
     * 胜利队伍
     */
    private Long winnerTeamId;

    /**
     * 败北队伍
     */
    private Long loserTeamId;

    /**
     * 比赛时间
     */
    private String date;

    /**
     * 比赛回放
     */
    private String replayUrl;


    public Long getResultId() {
        return resultId;
    }

    public void setResultId(Long resultId) {
        this.resultId = resultId;
    }

    public String getRound() {
        return round;
    }

    public void setRound(String round) {
        this.round = round;
    }

    public Long getMatchId() {
        return matchId;
    }

    public void setMatchId(Long matchId) {
        this.matchId = matchId;
    }

    public Long getWinnerTeamId() {
        return winnerTeamId;
    }

    public void setWinnerTeamId(Long winnerTeamId) {
        this.winnerTeamId = winnerTeamId;
    }

    public Long getLoserTeamId() {
        return loserTeamId;
    }

    public void setLoserTeamId(Long loserTeamId) {
        this.loserTeamId = loserTeamId;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getReplayUrl() {
        return replayUrl;
    }

    public void setReplayUrl(String replayUrl) {
        this.replayUrl = replayUrl;
    }

    @Override
    public String toString() {
        return "Results{" +
        "resultId=" + resultId +
        ", round=" + round +
        ", matchId=" + matchId +
        ", winnerTeamId=" + winnerTeamId +
        ", loserTeamId=" + loserTeamId +
        ", date=" + date +
        ", replayUrl=" + replayUrl +
        "}";
    }
}
